package net {
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	
	/**
	 * A URLLoader that remembers its URLRequest.
	 */
	public class RSSURLLoader extends URLLoader {
		public function RSSURLLoader(request:URLRequest = null) {
			this.request = request;
		}
		
		override public function load(request:URLRequest):void {
			this.request = request;
			
			super.load(request);
		}
		
		public function getURL():String {
			return request.url;
		}
		
		private var request:URLRequest;
	}
}